package tag;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.SkipPageException;
import javax.servlet.jsp.tagext.SimpleTagSupport;
import java.io.IOException;

public class SkipTag extends SimpleTagSupport {
    @Override
    public void doTag() throws JspException, IOException {
        //抛出这个异常就不能在向下加载了
        throw new SkipPageException();
    }
}




